<div class="breadcrumb clearfix">
      <span class="base">当前路径</span>
      <p id="ajax_path"><a href="/zfq">奇点</a> : </p>
</div> <!-- End Breadcrumb -->
<script>
    //alert(window.location.pathname);
    $.get("/returnPath",{'path_js':window.location.pathname},function (pathData) {
        var path = JSON.parse(pathData);

        for(var j in path){
            if(j == "主页")
                $("#ajax_path").append('<a href=' + path[j] + '>' + j + '</a>');
            else
                $("#ajax_path").append(' &rarr; <a href=' + path[j] + '>' + j + '</a>');
        }
    });
</script>